projects
/
dcmtk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4332e11
)
correct openssl patch
author
Gert Wollny
<gw.fossdev@gmail.com>
Sat, 2 Jul 2016 11:47:28 +0000
(11:47 +0000)
committer
Gert Wollny
<gw.fossdev@gmail.com>
Sat, 2 Jul 2016 11:47:28 +0000
(11:47 +0000)
debian/patches/09_openssl-1.1.patch
patch
|
blob
|
history
diff --git
a/debian/patches/09_openssl-1.1.patch
b/debian/patches/09_openssl-1.1.patch
index e04c49828677ba7ede827ff6ff690e65df8a32fa..0a3c03e2cf7ab26c079930711667aed68a2ed30d 100644
(file)
--- a/
debian/patches/09_openssl-1.1.patch
+++ b/
debian/patches/09_openssl-1.1.patch
@@
-10,7
+10,7
@@
Bug-Debian: http://bugs.debian.org/828281
+#if OPENSSL_VERSION_NUMBER < 0x10100000L
+#define SSL_CTX_get_cert_store(ctx) ctx->cert_store
-+#define EVP_PKEY_id(key) key->type;
++#define EVP_PKEY_
base_
id(key) key->type;
+#endif
+
extern "C" int DcmTLSTransportLayer_certificateValidationCallback(int ok, X509_STORE_CTX *storeContext);
@@
-73,7
+73,7
@@
Bug-Debian: http://bugs.debian.org/828281
if (pubkey)
{
- switch (EVP_PKEY_type(pubkey->type))
-+ switch (EVP_PKEY_id(pubkey))
++ switch (EVP_PKEY_
base_
id(pubkey))
{
case EVP_PKEY_RSA:
certPubKeyType = "RSA";